/**
 * HeeloSpeaker.java is created by Zachariah at 2012-2-2 下午05:39:31
 */
package com.zack.designPattern.proxy.staticproxy;

/**
 * @author zachariah zzcfrog@gmail.com
 *
 */
public class HelloSpeaker implements Speaker {

	String name;
	
	public HelloSpeaker(String name){
		this.name = name;
	}
	@Override
	public void say(String words) {
		System.out.println("hello,"+words);
	}

	@Override
	public String getName() {
		return this.name;
	}

}
